using _ReplaceString_.UI.Elements;
using Terraria.ModLoader.Config;

namespace _ReplaceString_.RSConfigs;

internal class RSConfig : ModConfig
{
	public override ConfigScope Mode => ConfigScope.ClientSide;

	[BackgroundColor(0, 0, 0, 0)]
	[CustomModConfigItem(typeof(MainElement))]
	public object? Main = null;

	public static bool ShouldReload { get; set; } = false;

	public override bool NeedsReload(ModConfig pendingConfig)
	{
		if(ShouldReload)
		{
			ShouldReload = false;
			return true;
		}
		return false;
	}
}